18946aff25c4abc83c623343b75eb8547da251b1,rest-client-microservice-provider/src/main/java/io/silverware/microservices/providers/rest/RestClientMicroserviceProvider.java,RestClientMicroserviceProvider,initRestService,#ServiceConfiguration#,108

Before Change


                     + "for the Rest service.");
      }
      if ("default".equals(configuration.type())) {
         return new DefaultRestService(this.client.target(silverWareURI.httpREST() + "/" + configuration.endpoint()));
      }
      throw new UnsupportedOperationException(String.format(
            "Requested Rest service implementation: %s is no provided. Currently, we support only default service "

After Change


                     metaData.getType(), configuration.getClass()));
      }

      final Object restService = this.client.target(configuration.endpoint()).proxy(metaData.getType());
      log.debug("Proxy for the Rest service: {} successfully created.", metaData.getType());

      return restService;